package com.xunk.common.core.interfaces;

/**
 * @ProjectName: HIM
 * @Package: com.xunk.equipment.interfaces
 * @ClassName: EnumValidateInterface
 * @Author: luanzhiwei
 * @Description: 枚举若要校验，需继承该接口并实现方法
 * @Date: 2021/4/13 9:38
 * @Version: 1.0
 */
public interface EnumValidateInterface {

    /**
     * 判断是否是可用枚举
     *
     * @param code
     * @return
     */
    Boolean isValidEnum(String code);
}
